package com.zkthink.ceres.order.dao;

import com.zkthink.base.mapper.SuperMapper;
import com.zkthink.ceres.order.entity.SensitiveKeyword;

import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 敏感词表
 * </p>
 *
 * @author JustArgo
 * @date 2020-07-12
 */
@Repository
public interface SensitiveKeywordMapper extends SuperMapper<SensitiveKeyword> {

    /**
     * 查询所有的敏感词
     * @return
     */
    List<SensitiveKeyword> selectAll();

    /**
     * 逻辑删除
     * @param idList
     */
    void logicDeleteByIds(List<Long> idList);
}
